package com.neu.elm.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author:csw
 * @Date: 9:52 2020/9/15
 */
//订单
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
public class Orders {
    private Integer orderId;
    private String userId;
    private Integer businessId;
    private String orderDate;
    private Double orderTotal;
    private Integer daId;//送货地址
    private Integer orderState;//支付状态

    //多对一
    private Business business;

    //一对多
    private List<OrderDetail> list;
}
